<?php

!defined("IS_SO") && die('Access Denied!');
$url_cfg = array(
    '/^(shop)\/(\d+)$/'                     => 'g=Home&m=Shop&a=view&id=:2',
    '/^(u)\/(\d+)_(\d+)$/'                  => 'g=Gift&m=User&a=Index&app_id=:2&uid=:3',
    '/^(gift)\/(\d+)$/'                     => 'g=Gift&m=Gift&a=show&iid=:2',
    '/^(takeaway)$/'                        => 'g=Home&m=Index&a=takeaways',
    '/^(xuan)\/(\d+)$/'                     => 'g=Gift&m=Gift&a=index&page=:2',
    '/^(want)\/(\d+)$/'                     => 'g=Gift&m=Question&a=show&qid=:2',
    '/^(wants)$/'                           => 'g=Gift&m=Question&a=index',
    //my模块
    '/^(my)$/'                              => 'g=User&m=Index',
    '/^(my)\/([login|register|logout]*?)$/' => 'g=User&m=Public&a=:2',
    '/^(my)\/([a-zA-Z0-9]*?)$/'             => 'g=User&m=Index&a=:2',
    /* shop模块 */
    '/^(shop)\/(\d+)$/'                     => 'g=Home&m=Shop&a=view&id=:2',
    '/^(cai)\/(\d+)$/'                     => 'g=Home&m=Cai&a=view&id=:2',
);
return $url_cfg;
?>